@model OrchardCore.Layers.ViewModels.LayerEditViewModel

<h1>@RenderTitleSegments(T["Create Layer"])</h1>

<form asp-action="Create" method="post">
    <div class="form-group" asp-validation-class-for="Name">
        <label asp-for="Name">@T["Name"]</label>
        <input asp-for="Name" class="form-control" type="text" />
        <span asp-validation-for="Name"></span>
    </div>

    <div class="form-group" asp-validation-class-for="Rule">
        <label asp-for="Rule">@T["Rule"]</label>
        <input asp-for="Rule" class="form-control" type="text" />
        <span asp-validation-for="Rule"></span>
    </div>

    <div class="form-group" asp-validation-class-for="Description">
        <label asp-for="Description">@T["Description"]</label>
        <textarea asp-for="Description" class="form-control" rows="3" type="text"></textarea>
        <span asp-validation-for="Description"></span>
    </div>

    <input class="button" type="submit" value="@T["Create"]" />
</form>
